//
//  AboutSoftwareViewController.m
//  hello mui
//
//  Created by zhangtao on 15/9/19.
//  Copyright © 2015年 zt.td. All rights reserved.
//

#import "AboutSoftwareViewController.h"

@interface AboutSoftwareViewController ()
@property (weak, nonatomic) IBOutlet UITextView *textView;

@end

@implementation AboutSoftwareViewController

//-(void)viewWillAppear:(BOOL)animated{
//    
//    self.tabBarController.tabBar.hidden = YES;
//}
//-(void)viewWillDisappear:(BOOL)animated{
//    self.tabBarController.tabBar.hidden = NO;
//}


- (void)viewDidLoad {
    [super viewDidLoad];
    self.navigationController.navigationBar.tintColor = [UIColor whiteColor];
    self.title = @"关于我们";
    _StuLable.font=[UIFont systemFontOfSize:16];
    _WerLable.textColor=UIColorFromRGB(0x666666);
//    
//    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
//    paragraphStyle.lineSpacing = 10;// 字体的行间距
//    
//    NSDictionary *attributes = @{
//                                 NSFontAttributeName:[UIFont systemFontOfSize:15],
//                                 NSParagraphStyleAttributeName:paragraphStyle
//                                 };
//    _textView.attributedText = [[NSAttributedString alloc] initWithString:ABOUT_US attributes:attributes];
//
    
    NSMutableParagraphStyle *paragraphStyle = [[NSMutableParagraphStyle alloc] init];
    paragraphStyle.lineSpacing = 8;// 字体的行间距
    
    NSDictionary *attributes = @{
                                 NSFontAttributeName:[UIFont systemFontOfSize:13],
                                 NSParagraphStyleAttributeName:paragraphStyle,
                                 UITextAttributeTextColor:RGB(100, 100, 100, 1)
                                 };
    _textView.attributedText = [[NSAttributedString alloc] initWithString:ABOUT_US attributes:attributes];
    
    
    
    
    
//    self.view.backgroundColor = [UIColor colorWithRed:211/255.f green:211/255.f blue:211/255.f alpha:1];
//    UIImageView *imageIV = [[UIImageView alloc]initWithFrame:CGRectMake(10, 0, self.view.frame.size.width-20, self.view.frame.size.height)];
//    imageIV.image = [UIImage imageNamed:@"关于本软件.png"];
//    [self.view addSubview:imageIV];
    
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
